package com.atguigu.gmall.product.service;

import com.atguigu.gmall.model.product.entity.SpuSaleAttr;
import com.atguigu.gmall.model.product.vo.SpuSaleInfoVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author lyd
* @description 针对表【spu_sale_attr(spu销售属性)】的数据库操作Service
* @createDate 2025-03-10 20:57:08
*/
public interface SpuSaleAttrService extends IService<SpuSaleAttr> {

    List<SpuSaleInfoVo> getSpuSaleAttrList(Long spuId);

    List<SpuSaleInfoVo> getSpuSaleAttrListBySkuId(Long spuId, Long skuId);

    String getValueSkuJson(Long spuId);
}
